package com.jk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @ClassName ConcludeBean
 * @Descripttion TODO  待处理表（待处理签约和待处理服务）
 * @Author DELL
 * @Date 2022/10/13 17:36
 * @Version 0.001
 */
@Data
@TableName("conclude")
@Document(indexName = "conclude")
public class ConcludeBean {


      @TableId(type = IdType.AUTO)
      @Id
      @Field(value = "conclude_id",type = FieldType.Integer)
      private Integer conclude_id;//编号

      @Field(value = "conclude_name",type = FieldType.Text,analyzer = "ik_max_word")
      private String  conclude_name;//姓名

      @Field(value = "conclude_card",type = FieldType.Text)
      private String  conclude_card;//身份证号

      @Field(value = "conclude_phone",type = FieldType.Text)
      private String  conclude_phone;//手机号

      @Field(value = "conclude_state",type = FieldType.Integer)
      private Integer conclude_state;//服务状态

      @Field(value = "conclude_doctor_team",type = FieldType.Integer)
      private Integer conclude_doctor_team;//医生团队

      @Field(value = "conclude_server",type = FieldType.Integer)
      private Integer conclude_server;//服务包

      @Field(value = "conclude_organization",type = FieldType.Integer)
      private Integer conclude_organization;//签约机构

      @Field(value = "conclude_date",type = FieldType.Text)
      private String  conclude_date;//申请时间

      //业务字段
      @TableField(exist = false)
      @JsonIgnore
      private String staterDate;//开始时间
      @TableField(exist = false)
      @JsonIgnore
      private  String  endDate;//结束时间









}
